a = 'abc'  # 34631496

a = 'bcd'  # 43121160
print(id(a))

# 内置函数
# print
# input
# ord()
# print(chr(97))
# type
# isinstance()
# len() 判断字符串长度
# len()
# pow()

# a.index() 不是内置函数,属于字符串的函数
# sum()
# a = [1,2*5,3]
# print(sum(a))
print(pow(2, 10))


def hh():
    pass


# python 中的关键字
# def
# if else while False Ture pass break continue return

# def get_sum():
#     print(1 + 2)
#     return '随么数字'
#
#
# result = get_sum()
#
# print(result)
def get_two_num_sum(a, b):
    print('a的值是', a)
    print('b的值是', b)
    return a + b


result = get_two_num_sum(5, 2)
print(result)

# def 函数名(参数1,参数2.....):
#     函数体语句
#     return 结果